package cn.yunhe.model;

import org.springframework.stereotype.Component;

@Component
public class PrimaryModel {
	private int primaryId;
	private String primaryTitle;
	private String primaryText;
	private String primaryPic;
	private String primaryTopic;
	
	public PrimaryModel() {
		
	}

	public PrimaryModel(int primaryId, String primaryTitle, String primaryText,
			String primaryPic, String primaryTopic) {
		this.primaryId = primaryId;
		this.primaryTitle = primaryTitle;
		this.primaryText = primaryText;
		this.primaryPic = primaryPic;
		this.primaryTopic = primaryTopic;
	}

	public int getPrimaryId() {
		return primaryId;
	}

	public void setPrimaryId(int primaryId) {
		this.primaryId = primaryId;
	}

	public String getPrimaryTitle() {
		return primaryTitle;
	}

	public void setPrimaryTitle(String primaryTitle) {
		this.primaryTitle = primaryTitle;
	}

	public String getPrimaryText() {
		return primaryText;
	}

	public void setPrimaryText(String primaryText) {
		this.primaryText = primaryText;
	}

	public String getPrimaryPic() {
		return primaryPic;
	}

	public void setPrimaryPic(String primaryPic) {
		this.primaryPic = primaryPic;
	}

	public String getPrimaryTopic() {
		return primaryTopic;
	}

	public void setPrimaryTopic(String primaryTopic) {
		this.primaryTopic = primaryTopic;
	}
}
